package com.mvc.service.vo.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mvc.dao.mapper.vo.*;
import com.mvc.framework.constant.GlobalConstant;
import com.mvc.model.vo.*;
import com.mvc.service.vo.*;
@Service
public class HealthFatImpl implements HealthFatService {
	
	@Autowired
	private HealthFatDao hFatDao;

	@Override
	public void insertHealthFat(HealthFat hFat) {
		//插入测量的脂肪信息
		switch (GlobalConstant.systemType) {
		case 0:
			hFatDao.insertHealthFat(hFat);
			break;
		case 1:
			hFatDao.insertBloodFat(hFat);
			break;
		default:
			break;
		}
	}

}
